import {createBrowserRouter} from 'react-router-dom'
import Home from '../Pages/Home/Home'
import List from '../Pages/List/List'
const routers=[
  {
    path: "/",
    element: <Home/>,
  },
    {
    path: "/List",
    element: <List/>,
  },
]


const router = createBrowserRouter(routers);

export default router
